import request from '@/utils/request'

export function getAllBannerList(data) {
  return request({
    url: '/manage/banner/allBanner',
    method: 'post',
    data,
  })
}
export function addBanner(data) {
  return request({
    url: '/manage/banner/addBanner',
    method: 'post',
    data,
  })
}
export function delBanner(data) {
  return request({
    url: '/manage/banner/deleteBanner',
    method: 'post',
    data,
  })
}